package com.qiaoan.back.service.sys;

import com.qiaoan.back.model.sys.UserModel;

public interface UserService {


    /**
     *
     * @param user
     * @return
     */
    int insert(UserModel user);

    /**
     *
     * @param username
     * @param password
     * @return
     */
    public UserModel getUserByNamePwd(String username ,String password);

    /**
     *
     * @param username
     * @return
     */
    UserModel getUserByUsername(String username);
}
